{"ast":null,"code":"// Determine if the toggle button value matches, or is contained in, the\n// candidate group value.\nexport default function isValueSelected(value, candidate) {\n  if (candidate === undefined || value === undefined) {\n    return false;\n  }\n  if (Array.isArray(candidate)) {\n    return candidate.indexOf(value) >= 0;\n  }\n  return value === candidate;\n}","map":{"version":3,"names":["isValueSelected","value","candidate","undefined","Array","isArray","indexOf"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/material/esm/ToggleButtonGroup/isValueSelected.js"],"sourcesContent":["// Determine if the toggle button value matches, or is contained in, the\n// candidate group value.\nexport default function isValueSelected(value, candidate) {\n  if (candidate === undefined || value === undefined) {\n    return false;\n  }\n  if (Array.isArray(candidate)) {\n    return candidate.indexOf(value) >= 0;\n  }\n  return value === candidate;\n}"],"mappings":"AAAA;AACA;AACA,eAAe,SAASA,eAAe,CAACC,KAAK,EAAEC,SAAS,EAAE;EACxD,IAAIA,SAAS,KAAKC,SAAS,IAAIF,KAAK,KAAKE,SAAS,EAAE;IAClD,OAAO,KAAK;EACd;EACA,IAAIC,KAAK,CAACC,OAAO,CAACH,SAAS,CAAC,EAAE;IAC5B,OAAOA,SAAS,CAACI,OAAO,CAACL,KAAK,CAAC,IAAI,CAAC;EACtC;EACA,OAAOA,KAAK,KAAKC,SAAS;AAC5B"},"metadata":{},"sourceType":"module"}